function [res contOut] = bciTestBayesLDA(bci,dat)

P = classify(bci.BayesLDA,dat');

res=sign(P);

if nargout>1,
    contOut = P;
end